﻿Public Class extension
    Implements IEquatable(Of extension)

    Public Property nombre As String
    Public Property numero As Integer = 1

    Sub New(nombre As String)
        Me.nombre = nombre
    End Sub

    Public Overrides Function ToString() As String
        Return nombre & " ->" & numero
    End Function


    Public Overloads Function Equals(other As extension) As Boolean Implements System.IEquatable(Of extension).Equals
        Return Me.nombre = other.nombre
    End Function
End Class
